/*
 * Address Book application with optimized GUI thread management
 */
package addressBook;

import addressBook.controller.AddressBookController;
import addressBook.model.AddressBookModel;
import addressBook.view.AddressBookView;

/**
 *
 * @author mathieubakrim
 */
public class AdressBookApplication {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        javax.swing.SwingUtilities.invokeLater(new Runnable() {
            
               AddressBookModel theModel = new AddressBookModel();        
               AddressBookController theController = new AddressBookController(theModel);
               
            @Override
            public void run() {
                AddressBookView theView = new AddressBookView(theController);
                theView.setVisible(true);}
        });
  
    }
}
